package com.baizhi.hospital.entity;

public class User {
    private int userId;
    private String userName;
    private String password;
    private String realName;
    private int sex;
    private String mobile;
    private int deptId;

    @Override
    public String toString() {
        return "User{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", password='" + password + '\'' +
                ", realName='" + realName + '\'' +
                ", sex=" + sex +
                ", mobile='" + mobile + '\'' +
                ", deptId=" + deptId +
                '}';
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public int getDeptId() {
        return deptId;
    }

    public void setDeptId(int deptId) {
        this.deptId = deptId;
    }

    public User(int userId, String userName, String password, String realName, int sex, String mobile, int deptId) {
        this.userId = userId;
        this.userName = userName;
        this.password = password;
        this.realName = realName;
        this.sex = sex;
        this.mobile = mobile;
        this.deptId = deptId;
    }

    public User() {
    }
}
